#include<stdio.h>

int main(){  	  	  	
	int n,num=0;
	printf("Please enter the number:\n");//1
	scanf("%d",&n);//1
	if(n>0&&n<10000){//1
	    if(n>=1000&&n<=9999)//1
	    num=4;
	    else if(n>=100&&n<=999)
	    num=3;
	    else if(n>=10&&n<=99)
	    num=2;
	    else if(n>=0&&n<=9)
	    num=1;
	    switch(num){//1
	        case 1:printf("%d: 0-9\n",n);break;//1
	        case 2:printf("%d: 10-99\n",n);break;
	        case 3:printf("%d: 100-999\n",n);break;
	        case 4:printf("%d: 1000-9999\n",n);break;
	        }
	   }
    else
        printf("error!\n");//1
	return 0;
}